import random
code = []
for i in range(65, 91):
    code.append(chr(i))
for j in range(97, 123):
    code.append(chr(j))
for k in range(48, 58):
    code.append(chr(k))
code_s = random.sample(code, 6)
code_a = "".join(code_s)
print(code_a)

